package com.pojo;

import lombok.Data;

import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class order {

    private Long id;

    private Long userId;

    @DecimalMin("0.00")
    private BigDecimal totalPrice;

    private String status;

    private Date createdAt;
}
